The following error occurred:
exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LIMIT 1' at line 1' in /home/janovia/www/library/Zend/Db/Statement/Pdo.php:238 Stack trace: #0 /home/janovia/www/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/janovia/www/library/Zend/Db/Adapter/Abstract.php(433): Zend_Db_Statement->execute(Array) #2 /home/janovia/www/library/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #3 /home/janovia/www/library/Zend/Db/Table/Abstract.php(1330): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /home/janovia/www/library/Zend/Db/Table/Abstract.php(1200): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /home/janovia/www/application/default/controllers/NewsController.php(121): Zend_Db_Table_Abstract->fetchRow('id=') #6 /home/janovia/www/library/Zend/Controller/Action.php(503): NewsController->viewAction() #7 /home/janovia/www/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('viewAction') #8 /home/janovia/www/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /home/janovia/www/application/bootstrap.php(91): Zend_Controller_Front->dispatch() #10 /home/janovia/www/public/index.php(8): require('/home/janovia/w...') #11 {main}